package com;

public class Post{
   private int post_num;
   private String school_name;
   private String topic;
   private String theme;
   private String content;
   private String imageurl;
   private String nick_name;
   private String time;
   private int goodnum;
   public int getSchoolId() {
	return schoolId;
}

public void setSchoolId(int schoolId) {
	this.schoolId = schoolId;
}
private int schoolId;
   
   public Post()
   {}
   
   public Post(int post_num,String school_name,String topic,String theme,String content,String imageurl,String nick_name,String time){
      this.post_num = post_num;
      this.school_name = school_name;
      this.topic = topic;
      this.theme = theme;
      this.content = content;
      this.imageurl = imageurl;
      this.nick_name = nick_name;
      this.time = time;
   }
   public void setPost_num(int post_num){
      this.post_num=post_num;
   }
   public void setSchool_name(String school_name){
      this.school_name=school_name;
   }
   public void setTopic(String topic){
      this.topic=topic;
   }
   public void setTheme(String theme){
      this.theme=theme;
   }
   public void setContent(String content){
      this.content=content;
   }
   
   public void setTime(String time){
      this.time=time;
   }
   public void setImageurl(String imageurl){
      this.imageurl=imageurl;
   }
   public void setNick_name(String nick_name){
      this.nick_name=nick_name;
   }
   public int getPost_num(){
      return this.post_num;
   }
   public String getSchool_name(){
      return this.school_name;
   }
   public String getTopic(){
      return this.topic;
   }
   public String getTheme(){
      return this.theme;
   }
   public String getContent(){
      return this.content;
   }
   
   public String getTime(){
      return this.time;
   }
   public String getImageurl(){
      return this.imageurl;
   }
   public String getNick_name(){
      return this.nick_name;
   }

	public int getGoodnum() {
		return goodnum;
	}
	
	public void setGoodnum(int goodnum) {
		this.goodnum = goodnum;
	}
}